//
//  NSString+CPString.h
//  ChinaPoem
//
//  Created by 赵俊明 on 2019/3/5.
//  Copyright © 2019 赵俊明. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (CPString)
- (CGSize)cp_sizeWithFont:(UIFont *)font maxW:(CGFloat)maxW;
- (CGSize)cp_sizeWithFont:(UIFont *)font;
- (NSString *)cp_replaceString;
- (NSString *)cp_author:(NSString *)author dynasty:(NSString *)dynasty title:(NSString *)title;
+ (NSString *)cp_tsp;
+ (NSString *)cp_tsp:(NSString *)tsp;
- (CGSize)cp_height:(CGFloat)size;
@end

NS_ASSUME_NONNULL_END
